home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgramD2.iso / Languages / Quick C 2.0 / INCLUDE / SHARE.H < prev    next >
Encoding:
C/C++ Source or Header  |  1988-12-05  |  450 b   |  16 lines

  1. /***
  2. *share.h - defines file sharing modes for sopen
  3. *
  4. *    Copyright (c) 1985-1989, Microsoft Corporation.  All rights reserved.
  5. *
  6. *Purpose:
  7. *    This file defines the file sharing modes for sopen().
  8. *
  9. ****/
  10.  
  11. #define SH_COMPAT    0x00    /* compatibility mode */
  12. #define SH_DENYRW    0x10    /* deny read/write mode */
  13. #define SH_DENYWR    0x20    /* deny write mode */
  14. #define SH_DENYRD    0x30    /* deny read mode */
  15. #define SH_DENYNO    0x40    /* deny none mode */
  16.